/**  
* @author: suan@unibroad.com
* @date 2014年5月6日 下午4:21:53
* @Copyright: 2014 unibroad.com Inc. All rights reserved.
*/
package base.model.exception;

/**
 * @Title: BizHandleException.java
 * @Package com.unibroad.appstore.model.exception
 * @Description: 业务处理异常
 * @version V1.0
 */
public class BizHandleException extends Exception {

    /**
     * <code>serialVersionUID</code> - {成员变量描述}.
     */
    private static final long serialVersionUID = -6000519665520081364L;

    /**
     * 异常对象
     */
    private final Throwable e;

    /**
     * 构造函数.
     * 
     * @param exceptionMessage
     */
    public BizHandleException(final String exceptionMessage) {
        super(exceptionMessage);
        e = null;
    }

    /**
     * 构造函数.
     * 
     * @param exceptionMessage
     * @param e
     */
    public BizHandleException(final String exceptionMessage, final Throwable e) {
        super(exceptionMessage);
        this.e = e;
    }

    /**
     * 构造函数.
     * 
     * @param e
     */
    public BizHandleException(final Throwable e) {
        super();
        this.e = e;
    }

    /**
     * {方法描述}.
     * 
     * @return
     */
    public Throwable geteThrowable() {
        return e;
    }

}
